const config = require('../config/config.js');
const baseUrl = config.baseUrl;

module.exports = {
  userInfo: baseUrl + "/login", //登陆
  bannerListUrl: baseUrl + "/banner/list", //轮播图
  buildingUrl: baseUrl + "/building", //楼层
  taskListUrl: baseUrl + "/task/list", //首页任务列表
  taskDetailsUrl: baseUrl + "/task/detail/", //任务详情
  priceUrl: baseUrl + "/price/config", //任务类型和对应价格
  relTaskUrl: baseUrl + "/issue/task", //发布任务
  orderUrl: baseUrl + "/create/order", //生成订单
  orderStatus: baseUrl + "/change/order/status", //改变支付状态
  getMyTask: baseUrl + "/my/task/list", //获取我发布的任务
  integralUrl: baseUrl + "/config", //获取积分
  receiveTaskUrl: baseUrl + "/receive/task", //领取任务
  uploadImg: baseUrl + "/authentication", //上传学生证和身份证
  uploadImg1: baseUrl + "/authentication1", //上传学生证和身份证
  refundTaskUrl: baseUrl + "/refund/task", //发布方取消订单申请退款
  //refundTaskUrl: baseUrl + "/refund", //发布方取消订单申请退款
  cancelTaskUrl: baseUrl + "/cancel/order/status", //取消未支付的订单
  receiveTask: baseUrl + "/my/receive/list", //获取我参与的任务
  finishTask: baseUrl + "/finish/task", //发布方确认收货
  placeholderUrl: baseUrl + "/placeholder/config", //placeholder
  tradenoTask: baseUrl + "/get/tradeno", //获取订单号
  getAddress: baseUrl + "/my/address", //获取我的地址
  addAddress: baseUrl + "/add/address", //新增地址
  delAddress: baseUrl + "/delete/address", //删除地址
  oneAddress: baseUrl + "/address/", //获取单条的地址
  editAddress: baseUrl + "/edit/address" //修改地址
}